import page1 from './page1'
import page2 from './page2'
import './p1'
import R1 from './react-demo'
import ReactDOM from 'react-dom'
import React from 'react'
import Vue from 'vue'
import V1 from './vue-demo'
import polo from '../assets/polo.jpg'
import jquery from 'jquery'
import lodash from 'lodash'

console.log(jquery)
console.log(lodash)
const img = new Image()
img.src = polo
img.width = 100
document.body.appendChild(img)
// document.write(page1 + page2)
new Promise(resolve => {
  resolve()
}).then(res => {
  console.log(res, 'hello promise')
})
ReactDOM.render(<R1></R1>, document.getElementById('react'))

new Vue({
  render: h => h(V1)
}).$mount('#vue')

async function ay() {
  await console.log('async 123172319317')
}

ay()
